#import <Foundation/Foundation.h>
 

@interface CStringUtil:NSObject
{
}

+(char*)TransformNSStringToChar:(NSString*)string;
+(NSString*)TransformCharToNSString:(char*)string;
+ (NSString*)URLencode:(NSString *)originalString stringEncoding:(NSStringEncoding)stringEncoding;

+(int)NSString2Int:(NSString*)aString defaultValue:(int)aDefaultValue;
//+(unsigned int)NSString2UInt:(NSString*)aString defaultValue:(unsigned int)aDefaultValue;
+(int)GetDecimalLength:(int)aNumber;
@end
